/***********************/
/* AUTOCOMPLETION DIV  */
/***********************/
div.autocomplete
{
  position:absolute;
  width:250px;
  background-color:white;
  border:0;
  margin:8px 0 0;
  padding: 0;
  box-shadow: @reactBoxShadowDepth1;
  border-radius: 0;
  max-height: 180px;
  overflow-y: auto;
  ul
  {
    list-style-type:none;
    margin: 0;
    padding: 0;
    li
    {
      list-style-type:none;
      display:block;
      margin:0;
      padding:7px;
      cursor:pointer;
      &.selected
      {
        background-color: aliceblue !important;
      }
    }
  }
}

@width0: 300px;
div.react-autosuggest {
  padding-left: 1px;
  li.react-autosuggest__suggestion{
    display: block;
  }
  .react-autosuggest__suggestion--focused {
    background-color: aliceblue;
  }
  input.react-autosuggest__input {
    width: @width0;
  }
  .react-autosuggest__suggestions {
    background-color: white;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.63);
    display: block;
    margin-top: 1px;
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: @width0;
    z-index: 20;
    .list-force-hide &{
      display: none !important;
    }
  }
  input#users-autosuggest {
    font-size: 18px;
    padding-bottom: 9px !important;
    padding-left: 4px !important;
  }
  input#pydioform-autosuggest{
    font-size: 16px;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #e0e0e0;
    &:focus{
      border-bottom: 2px solid @primary-1-color;
    }
  }
}

div.pydioform_autocomplete{
  .suggest-search{
    position: absolute;
    right:36px;
    padding-top: 2px;
    color: #e0e0e0;
  }
  .react-autosuggest__suggestions li{
    padding: 8px 6px;
    font-size: 16px;
    cursor: pointer;
  }
}
